{template 'common/header'}
<style>
th{
	text-align: center !important;
}

td{
	text-align: center !important;
	white-space: normal !important;
	word-break: break-all !important;
}
</style>

<div class="panel panel-default">

	<div class="panel-body" style="text-align: center;">

        <table class="table table-hover">

            <thead class="navbar-inner">

                <tr>

                    <th>昵称</th>		
                    <th>中奖</th>
                    <th>中奖时间</th>
                    <!--th>操作</th-->

                </tr>

            </thead>

            <tbody id="table_content">

                {loop $list $l}

                <tr>

                    <td>{$l['nickname']}</td>
                    <td>{if $l['credit1']==0}{$l['credit2']}元{else}{$l['credit1']}{/if}</td>
                    <td>{php echo date('Y-m-d H:i:s',$l['createtime'])}</td>
                    <!--td>
					
                    	<a href='{php echo $this->createWebUrl("zjjr",array("op"=>"delete","id"=>$l["id"]))}' onclick="return confirm('同步删除会员信息，二维码数据，删除后将不可恢复，确定删除吗？')" class="btn btn-danger btn-sm">删除</a>
						
                    </td-->

                </tr>

                {/loop}

            </tbody>

        </table>

        {$pager}

    </div>

</div>
<a href="{php echo $this->createWebUrl('qingkong')}" onclick="return confirm('清空后将不可恢复，确定清空吗？')" class="btn btn-danger btn-sm" role="button" style="margin-bottom:6px;">清空海报缓存</a>

{template 'common/footer'}